﻿
#loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.4) url('../../images/loading.gif') no-repeat center center;
    z-index: 10000;
}

.bg-color-icon {
    background-color: rgb(0,82,156, 0.9);
}

.color-icon {
    color: rgb(0,82,156, 0.9);
}

* {
    font-family: roboto;
}

body {
    color: black;
}

#navbarCollapse a {
    font-family: roboto;
    text-transform: uppercase;
}

#navbarCollapse a :active :hover {
     color: rgb(0,82,156, 0.9);
}

.navbar, #footer-head-section {
    background-color: rgb(242,242,243);
}

.navbar a {
     font-weight: 600;
     border-right: 1px solid black;
}

/* Background header */
#home-section {
    background-repeat: no-repeat;
    background-size: cover;
    /*background-attachment: fixed;*/
    min-height: 450px;
    /*background-image: linear-gradient(rgb(4,41,108), white);*/
    background-image: linear-gradient(to bottom, rgba(4, 41, 118, 1), rgba(4, 40, 116, 0.88), rgba(255, 255, 255, 0.85)), url('../../images/gallery/Header.jpg');
}



#home-section .dark-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        min-height: 600px;
        /*background-color: rgba(0,0,0,0.7)*/
}


    #home-section .light-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        min-height: 600px;
    }

    #home-section .home-inner {
        padding-top: 140px;
        padding-bottom: 10px;
    }


.inputSearch {
    position: relative;
    width: 100%;
    height: 52px;
    border-radius: 100px;
    font-size: 18px;
    padding-left: 15px;
    margin-left: auto;
    margin-right: auto;
}

.Block-Captcha {
    height: 5px;
}

#CaptchaImage {
    height: 44px;
    width: 160px;
    border-radius: 100px;
    /*position: absolute;
    right: -160px;
    top: 3px;*/
}

#CaptchaInputText {
    position: absolute;
    right: 25px;
    top: 8px;
    width: 250px;
    height: 35px;
    border-radius: 100px;
    font-size: 14px;
    text-align: center;
    text-transform: uppercase;
    background-color: rgba(4,38,118);
    color: #f8f9fa;
}

    #CaptchaInputText::placeholder {
        color: #ced4da;
    }

.icon-rounded {
    display: inline-block;
    background-color: white;
    border-radius: 100%;
    height: 24px;
    width: 24px;
    position: absolute;
    right: 244px;
    top: 13px;
    z-index: 1;
}

.btn-reload {
    display: flex;
    justify-content: space-between;
    border-radius: 100px;
    background-color: white;
    padding-left: 12px;
    width: 200px;
    height: 46px;
    border: 1px solid black;
    position: absolute;
    right: -192px;
    top: 4px;
}

 .btn-reload .fas {
    align-self: center;
    cursor: pointer;
 }

.btn {
    border-radius: 100px;
    background-color: #04296c;
    border: 0.5px solid white;
}

 .btn:disabled {
    background-color: #04296c;
    opacity: 1;
 }
/* Thuộc phần lợi ích */
.item-box {
    padding-top: 60px;
    max-width: 220px;
    height: 180px;
    border: 1px solid #212529;
    border-radius: 10px;
    position: relative;
}

.item-icon {
    max-width: 120px;
    min-width: 60px;
    height: 80px;
    position: absolute;
    top: -35px;
    left: 25%;
    right: 25%;
    bottom: 0;
    background-color: white;
    z-index: 1;
}

.item-icon img {
    margin-left: 25px;
    width: 65px;
    max-width: 65px;
}


/* Phần Liên Hệ*/
#contact-head-section {
    background-repeat: no-repeat;
    background-size: 100% 240px;
    min-height: 240px;
    background-image: linear-gradient(to bottom, rgba(4, 41, 108, 0.95), rgba(4, 41, 100, 0.7)), url('../../images/gallery/Hinh-Contact.jpg');
}

.contact-box img {
    height: 80px;
}

.contact-box {
    position: relative;
}

.contact-text-phone {
    font-weight: 600;
    position: absolute;
    top: 47%;
    right: 7%;
}

.contact-text-email {
    font-weight: 700;
    position: absolute;
    top: 47%;
    left: 20%;
}

/* phần hướng dẫn khi thu nhỏ trên mobile*/
.input-create-link::placeholder, .input-create-link:read-only {
    color: white;
    text-align: center;
    background-color: rgb(0,82,156, 0.9);
}

.input-create-code::placeholder, .input-create-code:read-only {
    color: #adb5bd;
    /*font-size: 14px;*/
    padding-left: 15px;
    background-color: rgb(0,82,156, 0.9);
}

.input-create-captcha::placeholder {
    color: rgb(0,82,156, 0.9);
    text-align: center;
}

/* Active khi scroll by */
.active {
    color: rgb(0,82,156, 1) !important;
}



/* rem and em do NOT depend on html font-size in media queries! Instead, 1rem = 1em = 16px */

/**************************/
/* BELOW 1344px (Smaller desktops) */
/**************************/

@media (max-width: 84em) {


    #home-section {
        min-height: 450px; 

    }


    #home-section .light-overlay{
        min-height: 550px;
    }

    .item-box {
        height: 240px;
        padding-top: 45px;
    }

    .item-icon {
        height: 80px;
        position: absolute;
        top: -33px;
        left: 20%;
        right: 30%;
        bottom: 0;
        z-index: 1;
    }

    .item-icon img {
        width: 65px;
    }
}

/**************************/
/* BELOW 1200px (Landscape Tablets) */
/**************************/

@media (max-width: 75em) {
    #home-section {
        min-height: 430px;
    }

    .contact-text-email {
        font-weight: 700;
        position: absolute;
        top: 47%;
        left: 24%;
    }
}

/**************************/
/* BELOW 944px (Tablets) */
/**************************/

@media (max-width: 59em) {

    .item-box {
        height: 240px;
    }
    .item-icon {
        height: 80px;
        position: absolute;
        top: -33px;
        left: 20%;
        right: 30%;
        bottom: 0;
        z-index: 1;
    }

    .item-icon img {
        width: 55px;
    }

    .contact-text-phone {
        font-weight: 600;
        position: absolute;
        top: 47%;
        right: 11%;
    }

    .contact-text-email {
        font-weight: 700;
        position: absolute;
        top: 47%;
        left: 33%;
    }
    .btn-reload {
        width: 185px;
        right: -180px;
        top: 4px;
    }
}

/**************************/
/* BELOW 704px (Smaller tablets) */
/**************************/

@media (max-width: 44em) {
    #home-section {
        min-height: 450px;
    }
    #home-section .home-inner {
        padding-top: 80px;
        padding-bottom: 10px;
    }
}

/**************************/
/* BELOW 544px (Phones) */
/**************************/

@media (max-width: 34em) {
    #home-section {
        min-height: 510px;
    }

   #home-section .home-inner {
        padding-top: 90px;
       padding-bottom: 10px;
   }
   .btn{
       margin-top:10px;
   }

    .icon-rounded{
        display:none;
    }
    
    .Block-Captcha {
        height:auto;
        display:flex;
        flex-direction: row-reverse;
        margin-top: 20px;
        gap: 2px;
        position: unset;
        margin-left: auto;
        margin-right: auto;
    }

    #CaptchaImage {
        height: 40px;
        width: 130px;
        position: unset;
        border-radius: 100px;
    }

    #CaptchaInputText {
        position: unset;
        width: 170px;
        height: 44px;
        border-radius: 100px;
        font-size: 16px;
        text-transform: uppercase;
        background-color: white;
        color: black;
    }

        #CaptchaInputText::placeholder{
            font-size: 12px;
        }

        .btn-reload {
            position: unset;
            width: 200px;
            height: 42px;
            gap:0;
        }
    .item-box {
        padding-top: 50px;
        height: 170px;
        margin-top: 50px;
    }


    .item-icon {
        left: 25%;
        right: 25%;
        bottom: 0;
    }

    .item-icon img {
         width: 65px;
    }

    #create-section img{
        height:180px;
    }

    #contact-head-section {
        margin-top:20px;
        background-size: cover;
        height: 265px ;

    }

    .contact-box img{
        height: 85px;
    }

    .contact-text-phone {
        font-weight: 600;
        position: absolute;
        top: 47%;
        right: 27%;
    }

    .contact-text-email {
        font-weight: 700;
        position: absolute;
        top: 47%;
        left: 40%;
    }
    #captcha-div{
        height:40px;
    }
}

/**************************/
/* Equal 544px (Phones) */
/**************************/
@media (width: 540px) {
    #home-section {
        min-height: 500px;
    }

    #home-section .home-inner {
            padding-top: 80px;
            padding-bottom: 10px;
        }

    #contact-head-section {
        background-size: cover;
        height: 252px;
    }

    .contact-text-phone {
        top: 47%;
        right: 33%;
    }

    .contact-text-email {
        top: 47%;
        left: 43%;
    }

    #CaptchaInputText {
        width: 280px;
    }


    #CaptchaImage {
        width: 125px;
    }

    .btn-reload{
        width:250px;
    }

    #captcha-div {
        height: 40px;
    }
}

/**************************/
/* smallest device */
/**************************/
@media (max-width: 350px) {
        
    .contact-text-phone {
        top: 47%;
        right: 25%;
    }

    .contact-text-email {
        top: 47%;
        left: 39%;
    }
}

/**************************/
/* Galaxy Fold */
/**************************/
@media only screen and (min-device-width: 550px) and (max-device-width: 763px){

    #home-section {
        min-height: 482px;
    }
    #home-section .home-inner {
        padding-top: 100px;
       padding-bottom: 10px;
    }
    .Block-Captcha {
        height: auto;
        display: flex;
        flex-direction: row-reverse;
        margin-top: 20px;
        gap: 4px;
        position: unset;
        margin-left: auto;
        margin-right: auto;
    }

    #CaptchaImage {
        height: 40px;
        width: 180px;
        position: unset;
        border-radius: 100px;
    }

    #CaptchaInputText {
        position: unset;
        width: 290px;
        height: 44px;
        border-radius: 100px;
        font-size: 16px;
        text-transform: uppercase;
        background-color: white;
        color: black;
    }

    .btn-reload {
        position: unset;
        width: 230px;
        height: 42px;
    }
    #btn-download button{
        margin-top:5px;
    }
    #contact-head-section {
        margin-top: 20px;
        background-size: 100% 260px;
        height: 260px;
    }

    .contact-text-phone {
        top: 47%;
        right: 33%;
    }

    .contact-text-email {
        top: 47%;
        left: 43%;
    }

    #captcha-div {
        height: 50px;
    }
}


/* 
- Font sizes (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
*/
